from model.user import User
from model.search import Search


def test_search(app):
    app.login(User.Admin())
    new_search = Search.Exist()
    app.search_field_typing(new_search)
    app.search_film()
